package com.ctgu.edu.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Job {
    private Integer jobId;
    private Integer jobRecId;
    private String jobName;
    private String jobType;
    private String jobTime;
    private Integer jobSalary;
    private String jobPosition;
    private String jobInf;
    //调整为前端时间显示格式
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date jobSubmitTime;
    private Integer jobClickTimes;

    public Job() {
    }

    public Job(Integer jobId, Integer jobRecId, String jobName, String jobType, String jobTime, Integer jobSalary, String jobPosition, String jobInf, Date jobSubmitTime, Integer jobClickTimes) {
        this.jobId = jobId;
        this.jobRecId = jobRecId;
        this.jobName = jobName;
        this.jobType = jobType;
        this.jobTime = jobTime;
        this.jobSalary = jobSalary;
        this.jobPosition = jobPosition;
        this.jobInf = jobInf;
        this.jobSubmitTime = jobSubmitTime;
        this.jobClickTimes = jobClickTimes;
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public Integer getJobRecId() {
        return jobRecId;
    }

    public void setJobRecId(Integer jobRecId) {
        this.jobRecId = jobRecId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public String getJobTime() {
        return jobTime;
    }

    public void setJobTime(String jobTime) {
        this.jobTime = jobTime;
    }

    public Integer getJobSalary() {
        return jobSalary;
    }

    public void setJobSalary(Integer jobSalary) {
        this.jobSalary = jobSalary;
    }

    public String getJobPosition() {
        return jobPosition;
    }

    public void setJobPosition(String jobPosition) {
        this.jobPosition = jobPosition;
    }

    public String getJobInf() {
        return jobInf;
    }

    public void setJobInf(String jobInf) {
        this.jobInf = jobInf;
    }

    public Date getJobSubmitTime() {
        return jobSubmitTime;
    }

    public void setJobSubmitTime(Date jobSubmitTime) {
        this.jobSubmitTime = jobSubmitTime;
    }

    public Integer getJobClickTimes() {
        return jobClickTimes;
    }

    public void setJobClickTimes(Integer jobClickTimes) {
        this.jobClickTimes = jobClickTimes;
    }

    @Override
    public String toString() {
        return "Job{" +
                "jobId=" + jobId +
                ", jobRecId=" + jobRecId +
                ", jobName='" + jobName + '\'' +
                ", jobType='" + jobType + '\'' +
                ", jobTime='" + jobTime + '\'' +
                ", jobSalary=" + jobSalary +
                ", jobPosition='" + jobPosition + '\'' +
                ", jobInf='" + jobInf + '\'' +
                ", jobSubmitTime=" + jobSubmitTime +
                ", jobClickTimes=" + jobClickTimes +
                '}';
    }
}
